import Vue from "vue";
import VueRouter from "vue-router";
import HomeView from "../views/HomeView.vue";
import DrillStatus from "@/views/DrillStatus.vue";
import VisualReport from "@/views/VisualReport.vue";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "drillstatus",
    component: DrillStatus,
  },
  {
    path: "/home",
    name: "home",
    component: HomeView,
  },
  {
    path: "/VisualReport",
    name: "VisualReport",
    component: VisualReport,
  },
 
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
